package cn.wen233.basic.model;

import cn.wen233.basic.utils.IdUtils;
import lombok.Data;

/**
 * 节点添加记录记录
 *
 * @author wenei
 * @date 2022-01-01 21:30
 */
@Data
public class NodeRecord {

    private String id;

    private String serviceId;

    private String appName;

    private String ip;

    private int port;

    private Long createTime;

    public NodeRecord() {
        this.id = String.valueOf(IdUtils.snowId());
    }
}
